package zero.tech.games.user.util;

import zero.tech.core.data.SimpleUser;
import zero.tech.games.entity.user.TUser;

public class PackageUtil {
	public static SimpleUser packageSimpleUser(TUser user) {
		SimpleUser simpleUser = new SimpleUser();
		simpleUser.setUid(user.getUid());
		simpleUser.setIdno(user.getIdno());
		simpleUser.setNick(user.getNick());
		simpleUser.setHead_img(user.getHead_img());
		simpleUser.setSex(user.getSex());
		simpleUser.setAi(user.getAi());
		return simpleUser;
	}
}
